package com.example.demomk.entity;

import androidx.room.ColumnInfo;

public class MeasurementSummary {
    private int avg_id;
    private String area_name;
    private int point_count;
    private String measurement_ids; // 逗号分隔的字符串

    public MeasurementSummary(int avg_id, String area_name, int point_count, String measurement_ids) {
        this.avg_id = avg_id;
        this.area_name = area_name;
        this.point_count = point_count;
        this.measurement_ids = measurement_ids;
    }

    public int getAvg_id() {
        return avg_id;
    }

    public void setAvg_id(int avg_id) {
        this.avg_id = avg_id;
    }

    public String getArea_name() {
        return area_name;
    }

    public void setArea_name(String area_name) {
        this.area_name = area_name;
    }

    public int getPoint_count() {
        return point_count;
    }

    public void setPoint_count(int point_count) {
        this.point_count = point_count;
    }

    public String getMeasurement_ids() {
        return measurement_ids;
    }

    public void setMeasurement_ids(String measurement_ids) {
        this.measurement_ids = measurement_ids;
    }

    @Override
    public String toString() {
        return "MeasurementSummary{" +
                "avg_id=" + avg_id +
                ", area_name='" + area_name + '\'' +
                ", point_count=" + point_count +
                ", measurement_ids='" + measurement_ids + '\'' +
                '}';
    }
}